/*
 文章请求
  */
import request from '@/utils/request'
// 获取文章信息
export const getarticleAPI = params => {
  return request({
    method: 'GET',
    // url小写
    url: '/v1_0/articles',
    params: params

  }
  )
}
// 获取文章详细信息
export const getArticlebyIDAPI = articleID => {
  return request({
    method: 'GET',
    // url小写
    url: `/v1_0/articles/${articleID}`
  }
  )
}
